package com.vitabuybuy.tv.ui.cart.adapter

import androidx.recyclerview.widget.RecyclerView
import com.vitabuybuy.tv.R
import com.vitabuybuy.tv.databinding.ItemGoodItemBinding
import com.vitabuybuy.tv.dto.SettlementDto
import com.library.common.base.BindRecycAdapter

class GoodItemAdapter :
    BindRecycAdapter<ItemGoodItemBinding, SettlementDto.StoreListBean.ItemListBean>() {
    override fun onBindViewHolder(
        mBinding: ItemGoodItemBinding,
        itemData: SettlementDto.StoreListBean.ItemListBean,
        holder: RecyclerView.ViewHolder,
        position: Int
    ) {
        mBinding.itemData = itemData
    }

    override fun normalViewId(viewType: Int): Int {
        return R.layout.item_good_item
    }
}
